

import Layout from '@/layout'

const cityRouter = {
  path: '/city',
  component: Layout,
  redirect: '/city/list',
  name: 'city',
  meta: {
    title: '分站管理',
    icon: 'clipboard'
  },
  children: [
    {
      path: 'list',
      name: 'citysList',
      component: () => import('@/views/city/list'),
      meta: {
        title: '分站管理',
        icon: 'clipboard'
      }
    },
    {
      path: 'system',
      name: 'citySystem',
      component: () => import('@/views/city/system'),
      meta: {
       title: '分站菜单管理',
       noCache: true,
       activeMenu: `/city/system`
      }
    },
    {
      path: 'system',
      name: 'citySystem',
      component: () => import('@/views/city/system'),
      meta: {
       title: '分站菜单管理',
       noCache: true,
       activeMenu: `/city/system`
      }
    }
  ]
}

export default cityRouter
